import mongoose from 'mongoose'
// 生成Schema模型
const Schema = mongoose.Schema
const CBlateSchema = new Schema({
  tower: {
    type: String
  },
  dorm: {
    type: String
  },
  name: {
    type: String
  },
  studentNum: {
    type: String
  },
  // come back late time 晚归时间
  BCLtime: {
    type: Date
  },
  // 晚归原因
  cause: {
    type: String
  }
})

export default mongoose.model('CBlate', CBlateSchema, 'CBlate')
